//
//  Details.cpp
//  AntSimulation
//
//  Created by Robert Mayr on 24.10.12.
//  Copyright (c) 2012 Robert Mayr. All rights reserved.
//

#include "Details.h"

void Details::setName(char* pName) {
	strncpy(name,pName,sizeof(name));
}

char* Details::getName() {
	return name;
}

void Details::setNumber(int n) {
	nItemNumber = n;
	return;
}

int Details::getNumber() {
	return nItemNumber;
}

void Details::PrintInfo() {
    std::cout << getName() << " - " << getNumber() << " - " << this << "\n";
}